;; ldk customize org model

(setq org-export-global-macros
	  '(("page-break" . "@@html: <div style=\"page-break-after: always\"></div>@@")))

(defun ldk/copylink()
  (interactive)
  (let* ((context (org-element-context))
		 (type (org-element-type context))
		 (beg (org-element-property :begin context))
		 (end (org-element-property :end context)))
	(when (eq type 'link)
	  (copy-region-as-kill beg end))))
